// 把components中的组件进行全局化注册
import ImageView from "./imageView/index.vue"
import Sku from "./XtxSku/index.vue"

// 通过插件的方式
export const componentPlugin = {
    install(app) {
        // app.component("组件名", 组件配置对象)
        app.component("XtxImageView", ImageView)
        app.component("XtxSku", Sku)
    }
}
